package com.agileai.wm.module.system.exteral;

import javax.ws.rs.Consumes;
import javax.ws.rs.FormParam;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;

@Path("/security")
public interface ApiAuthenticater {
    @POST  
    @Path("/authenticate")  
    @Consumes({"application/x-www-form-urlencoded"})
    @Produces(MediaType.TEXT_PLAIN)
	public Response authticate(@FormParam("appCode") String appCode,@FormParam("appPwd") String appPwd);
}
